<%--
  User: cjp
  Date: 2007-5-23
  Time: 13:07:47
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<title>管理员登录</title>
    <script type="text/javascript">
        if (top != self) {
            top.location = self.location;
        }
    </script>
<meta name="author" content="ywyvoid@gmail.com"/>
<meta name="Copyright" content="www.wyvoid.com"/>
<meta name="keywords" content="xml,xslt,xhtml,webwork,hibernate,spring,java,jsp,j2ee,sax,dom,mysql,linux,css2" />
<link rel="stylesheet" href="${ctx}/css/default.css" type="text/css" media="all"/>
<meta name="description" content="News,Java技术,xml技术,XHTML+CSS2网站布局,xml,mysql" />
</head>
<body style="margin:0px;padding:0px;background-color:#fff">
<div class="box1" style="margin:28%; margin-top:150px;">
  <div class="title" align="center">管理登陆</div>
  <s:form action="/admin/login.do" method="post">
      <div style="color:red"><s:errors/></div>
    <div class="content">
      <div class="ibox">
        <div class="it">用户名: *</div>
        <div class="iv">
            <s:text name="admin.username"  class="t" size="20"/>
          <span class="remark">用户名不为空,长度为6~12</span> </div>
      </div>
      <div class="ibox">
        <div class="it">密 码: *</div>
        <div class="iv">
            <s:password name="admin.password"  class="t" size="20"/>
          <span class="remark">密码不为空,长度为6~12</span> </div>
      </div>
      <div class="ibox">
        <div class="it">验证码: *</div>
        <div class="iv">
          <input name="validateCode" type="text" class="t" value="" size="4"/>
            <img src="${ctx}/validateCode" width="60" height="20" alt="验证码信息" onclick="this.src='${ctx}/validateCode'"/>
          <span class="remark">验证码不为空</span> </div>
      </div>
    </div>
    <div class="box3" style="text-align:center; clear:both">
      <div>
        <input type="submit" value="登陆管理" name="agree" class="b"/>
      </div>
    </div>
  </s:form>
</div>
</body>
</html>
